package com.xoa.service.inv;

import com.xoa.model.inv.Repayment;
import com.xoa.model.inv.SupRepayment;

import java.util.List;
import java.util.Map;

public interface RepaymentService {
    //添加客户还款数据
    public int insertCusPayment(Repayment repayment);
    //删除客户还款数据
    public int delCusPaymentById(Integer repaymentId);
    //查询所有客户还款数据
    public List<Repayment> selectCusPayment(Map<String, Object> map);
    //添加供货商还款数据
    public int insertSupPayment(SupRepayment supRepayment);
    //删除供货商还款数据
    public int delSupPaymentById(Integer supRepaymentId);
    //查询所有供货商还款数据
    public List<SupRepayment> selectSupPayment(Map<String, Object> map);
}
